<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Recipe_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-recipe_id" data-rule="required" data-source="clothmaking_recipe/index" class="form-control selectpage" name="row[recipe_id]" type="text" data-field="recipe_id" value="{$Request.get.rid|default='0'}" data-select-only="true" disabled="true">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Raw_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-raw_id" data-rule="required" data-source="clothmaking_raw/index" class="form-control selectpage" name="row[raw_id]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" class="form-control" step="0.001" name="row[num]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Percentage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-Percentage"  class="form-control" step="0.001" name="row[Percentage]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
